/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.service;

import java.util.List;

import com.jeesite.modules.sys.entity.Area;
import com.jeesite.modules.sys.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.TreeService;
import com.jeesite.modules.kj.entity.KjRegion;
import com.jeesite.modules.kj.dao.KjRegionDao;

/**
 * kjRegionService
 * @author hzy
 * @version 2021-08-08
 */
@Service
@Transactional(readOnly=true)
public class KjRegionService extends TreeService<KjRegionDao, KjRegion> {
	@Autowired
	AreaService areaService;
	/**
	 * 获取单条数据
	 * @param kjRegion
	 * @return
	 */
	@Override
	public KjRegion get(KjRegion kjRegion) {
		return super.get(kjRegion);
	}

	/**
	 * 查询列表数据
	 * @param kjRegion
	 * @return
	 */
	@Override
	public List<KjRegion> findList(KjRegion kjRegion) {
		return super.findList(kjRegion);
	}

	/**
	 * 保存数据（插入或更新）
	 * @param kjRegion
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(KjRegion kjRegion) {
		super.save(kjRegion);
	}

	/**
	 * 更新状态
	 * @param kjRegion
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(KjRegion kjRegion) {
		super.updateStatus(kjRegion);
	}

	/**
	 * 删除数据
	 * @param kjRegion
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(KjRegion kjRegion) {
		super.delete(kjRegion);
	}

}
